<%@ page import="dex.micros_gdc.Testcase" %>



<g:if test="${testcaseInstance?.projectName}">
<div class="fieldcontain">
	<span id="projectName-label" class="property-label"><g:message code="testcase.projectName.label" default="Project Name" /></span>

		<span class="property-value" aria-labelledby="projectName-label"><g:fieldValue bean="${testcaseInstance}" field="projectName"/></span>

</div>
</g:if>

<g:if test="${testcaseInstance?.activityNumber}">
<div class="fieldcontain">
	<span id="activityNumber-label" class="property-label"><g:message code="testcase.activityNumber.label" default="Activity Number" /></span>

		<span class="property-value" aria-labelledby="activityNumber-label"><g:fieldValue bean="${testcaseInstance}" field="activityNumber"/></span>

</div>
</g:if>

<g:if test="${testcaseInstance?.receivedDate}">
<div class="fieldcontain">
	<span id="receivedDate-label" class="property-label"><g:message code="testcase.receivedDate.label" default="Received Date" /></span>

		<span class="property-value" aria-labelledby="receivedDate-label"><g:formatDate date="${testcaseInstance?.receivedDate}" format="MM/dd/yyyy"/></span>

</div>
</g:if>

<g:if test="${testcaseInstance?.status}">
<div class="fieldcontain">
	<span id="status-label" class="property-label"><g:message code="testcase.status.label" default="Status" /></span>

		<span class="property-value" aria-labelledby="status-label"><g:fieldValue bean="${testcaseInstance}" field="status"/></span>

</div>
</g:if>

<g:if test="${testcaseInstance?.dueDate}">
<div class="fieldcontain">
	<span id="dueDate-label" class="property-label"><g:message code="testcase.dueDate.label" default="Due Date" /></span>

		<span class="property-value" aria-labelledby="dueDate-label"><g:formatDate date="${testcaseInstance?.dueDate}" format="MM/dd/yyyy"/></span>

</div>
</g:if>

<div class="fieldcontain ${hasErrors(bean: testcaseInstance, field: 'testcaseStatus', 'error')} ">
	<label for="testcaseStatus">
		<g:message code="testcase.testcaseStatus.label" default="Testcase Status" />

	</label>
	<g:select name="testcaseStatus" from="${testcaseInstance.constraints.testcaseStatus.inList}" value="${testcaseInstance?.testcaseStatus}" valueMessagePrefix="testcase.testcaseStatus" noSelection="['': '']"/>
</div>

<div class="fieldcontain ${hasErrors(bean: testcaseInstance, field: 'comments', 'error')} ">
	<label for="comments">
		<g:message code="testcase.comments.label" default="Comments" />

	</label>
	<g:textArea name="comments" value="${testcaseInstance?.comments}" maxLength="254"/>
</div>

<div class="fieldcontain ${hasErrors(bean: testcaseInstance, field: 'delivered', 'error')} ">
	<label for="delivered">
		<g:message code="testcaseInstance.closedFlag.label" default="Delivered" />

	</label>
	<g:select name="delivered" from="${testcaseInstance.constraints.delivered.inList}" value="${testcaseInstance?.delivered}" valueMessagePrefix="testcaseInstance.delivered" noSelection="['':'Please select...']"/>
</div>

